<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!--360浏览器优先以webkit内核解析-->
    <title>系统介绍</title>
    <link rel="shortcut icon" href="favicon.ico">
    <link href="../static/css/bootstrap.min.css" th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
    <link href="../static/css/font-awesome.min.css" th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
    <link href="../static/css/style.min.css" th:href="@{/css/style.min.css}" rel="stylesheet"/>
</head>

<body class="gray-bg">
<!--<div class="row border-bottom white-bg dashboard-header">-->
<!--</div>-->
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-4">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>概况</h5>
                </div>
                <div class="ibox-content" style="display: flex">
                    <div style="flex: 1">
                        <p class="font-title">当月入库(次)</p>
                        <p id="enterNumber" class="font-data"></p>
                    </div>
                    <div style="flex: 1">
                        <p class="font-title">当月出库(次)</p>
                        <p id="outNumber" class="font-data"></p>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>


<script th:src="@{/js/jquery.min.js}"></script>
<script th:src="@{/js/bootstrap.min.js}"></script>
<script th:src="@{/ajax/libs/layer/layer.min.js}"></script>
<script th:inline="javascript">
    var ctx = [[@{/}]];
</script>

<script th:inline="javascript">
    $(function() {
        $.ajax({
            type: "get",
            url: ctx + "financial/fEnter/byDateNumber",
            success: function(r) {
                if(r.code==0){
                    $("#enterNumber").html(r.data.enterNumber)
                    $("#outNumber").html(r.data.outNumber)
                }
            }
        });
    });

</script>

<style>
    .font-title{
        color: rgba(0,0,0,.45);
        font-size: 14px
    }
    .font-data{
        color: rgba(0,0,0,.85);
        font-size: 24px;
    }

</style>


</body>
</html>
